<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DM-CtrlH7-BF-DevProgram: C:/Users/ASUS/Desktop/dm-ctrlH7-balance-9025test/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_gpio.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="50x5.png"/></td>
  <td id="projectalign">
   <div id="projectname">DM-CtrlH7-BF-DevProgram<span id="projectnumber">&#160;beta 0.1</span>
   </div>
   <div id="projectbrief">C.ONE Studio Damiao Development Board Framework</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search/",'.html');
</script>
<script type="text/javascript">
$(function() { codefold.init(); });
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search',true);
  $(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(function(){initNavTree('stm32h7xx__ll__gpio_8h_source.html','',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">stm32h7xx_ll_gpio.h</div></div>
</div><!--header-->
<div class="contents">
<a href="stm32h7xx__ll__gpio_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span> </div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="comment">/* Define to prevent recursive inclusion -------------------------------------*/</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="preprocessor">#ifndef STM32H7xx_LL_GPIO_H</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span><span class="preprocessor">#define STM32H7xx_LL_GPIO_H</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span><span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span> </div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span><span class="comment">/* Includes ------------------------------------------------------------------*/</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span><span class="preprocessor">#include &quot;<a class="code" href="stm32h7xx_8h.html">stm32h7xx.h</a>&quot;</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span> </div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span><span class="preprocessor">#if defined (GPIOA) || defined (GPIOB) || defined (GPIOC) || defined (GPIOD) || defined (GPIOE) || defined (GPIOF) || defined (GPIOG) || defined (GPIOH) || defined (GPIOI) || defined (GPIOJ) || defined (GPIOK)</span></div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span> </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span><span class="comment">/* Private types -------------------------------------------------------------*/</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span><span class="comment">/* Private variables ---------------------------------------------------------*/</span></div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span><span class="comment">/* Private constants ---------------------------------------------------------*/</span></div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span><span class="comment">/* Private macros ------------------------------------------------------------*/</span></div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span><span class="preprocessor">#if defined(USE_FULL_LL_DRIVER)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span></div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span><span class="preprocessor">#endif </span><span class="comment">/*USE_FULL_LL_DRIVER*/</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span> </div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span><span class="comment">/* Exported types ------------------------------------------------------------*/</span></div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span><span class="preprocessor">#if defined(USE_FULL_LL_DRIVER)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno">   59</span></div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span><span class="keyword">typedef</span> <span class="keyword">struct</span></div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span>{</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span>  uint32_t Pin;          </div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span> </div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span>  uint32_t Mode;         </div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span> </div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span>  uint32_t Speed;        </div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span> </div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span>  uint32_t OutputType;   </div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span> </div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span>  uint32_t Pull;         </div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span> </div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno">   88</span>  uint32_t Alternate;    </div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno">   92</span>} LL_GPIO_InitTypeDef;</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span></div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno">   97</span><span class="preprocessor">#endif </span><span class="comment">/* USE_FULL_LL_DRIVER */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno">   98</span> </div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno">   99</span><span class="comment">/* Exported constants --------------------------------------------------------*/</span></div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno">  103</span></div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno">  107</span><span class="preprocessor">#define LL_GPIO_PIN_0                      GPIO_BSRR_BS0 </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span><span class="preprocessor">#define LL_GPIO_PIN_1                      GPIO_BSRR_BS1 </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno">  109</span><span class="preprocessor">#define LL_GPIO_PIN_2                      GPIO_BSRR_BS2 </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno">  110</span><span class="preprocessor">#define LL_GPIO_PIN_3                      GPIO_BSRR_BS3 </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno">  111</span><span class="preprocessor">#define LL_GPIO_PIN_4                      GPIO_BSRR_BS4 </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno">  112</span><span class="preprocessor">#define LL_GPIO_PIN_5                      GPIO_BSRR_BS5 </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno">  113</span><span class="preprocessor">#define LL_GPIO_PIN_6                      GPIO_BSRR_BS6 </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno">  114</span><span class="preprocessor">#define LL_GPIO_PIN_7                      GPIO_BSRR_BS7 </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno">  115</span><span class="preprocessor">#define LL_GPIO_PIN_8                      GPIO_BSRR_BS8 </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno">  116</span><span class="preprocessor">#define LL_GPIO_PIN_9                      GPIO_BSRR_BS9 </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno">  117</span><span class="preprocessor">#define LL_GPIO_PIN_10                     GPIO_BSRR_BS10 </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno">  118</span><span class="preprocessor">#define LL_GPIO_PIN_11                     GPIO_BSRR_BS11 </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno">  119</span><span class="preprocessor">#define LL_GPIO_PIN_12                     GPIO_BSRR_BS12 </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno">  120</span><span class="preprocessor">#define LL_GPIO_PIN_13                     GPIO_BSRR_BS13 </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno">  121</span><span class="preprocessor">#define LL_GPIO_PIN_14                     GPIO_BSRR_BS14 </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno">  122</span><span class="preprocessor">#define LL_GPIO_PIN_15                     GPIO_BSRR_BS15 </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno">  123</span><span class="preprocessor">#define LL_GPIO_PIN_ALL                    (GPIO_BSRR_BS0 | GPIO_BSRR_BS1  | GPIO_BSRR_BS2  | \</span></div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno">  124</span><span class="preprocessor">                                           GPIO_BSRR_BS3  | GPIO_BSRR_BS4  | GPIO_BSRR_BS5  | \</span></div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno">  125</span><span class="preprocessor">                                           GPIO_BSRR_BS6  | GPIO_BSRR_BS7  | GPIO_BSRR_BS8  | \</span></div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno">  126</span><span class="preprocessor">                                           GPIO_BSRR_BS9  | GPIO_BSRR_BS10 | GPIO_BSRR_BS11 | \</span></div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno">  127</span><span class="preprocessor">                                           GPIO_BSRR_BS12 | GPIO_BSRR_BS13 | GPIO_BSRR_BS14 | \</span></div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno">  128</span><span class="preprocessor">                                           GPIO_BSRR_BS15) </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno">  132</span></div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno">  136</span><span class="preprocessor">#define LL_GPIO_MODE_INPUT                 (0x00000000U) </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno">  137</span><span class="preprocessor">#define LL_GPIO_MODE_OUTPUT                GPIO_MODER_MODE0_0  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno">  138</span><span class="preprocessor">#define LL_GPIO_MODE_ALTERNATE             GPIO_MODER_MODE0_1  </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno">  139</span><span class="preprocessor">#define LL_GPIO_MODE_ANALOG                GPIO_MODER_MODE0    </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno">  143</span></div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno">  147</span><span class="preprocessor">#define LL_GPIO_OUTPUT_PUSHPULL            (0x00000000U) </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno">  148</span><span class="preprocessor">#define LL_GPIO_OUTPUT_OPENDRAIN           GPIO_OTYPER_OT0 </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno">  152</span></div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno">  156</span><span class="preprocessor">#define LL_GPIO_SPEED_FREQ_LOW             (0x00000000U) </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno">  157</span><span class="preprocessor">#define LL_GPIO_SPEED_FREQ_MEDIUM          GPIO_OSPEEDR_OSPEED0_0 </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno">  158</span><span class="preprocessor">#define LL_GPIO_SPEED_FREQ_HIGH            GPIO_OSPEEDR_OSPEED0_1 </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno">  159</span><span class="preprocessor">#define LL_GPIO_SPEED_FREQ_VERY_HIGH       GPIO_OSPEEDR_OSPEED0   </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno">  163</span><span class="preprocessor">#define LL_GPIO_SPEED_LOW                  LL_GPIO_SPEED_FREQ_LOW</span></div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno">  164</span><span class="preprocessor">#define LL_GPIO_SPEED_MEDIUM               LL_GPIO_SPEED_FREQ_MEDIUM</span></div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno">  165</span><span class="preprocessor">#define LL_GPIO_SPEED_FAST                 LL_GPIO_SPEED_FREQ_HIGH</span></div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno">  166</span><span class="preprocessor">#define LL_GPIO_SPEED_HIGH                 LL_GPIO_SPEED_FREQ_VERY_HIGH</span></div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno">  167</span> </div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno">  168</span></div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno">  172</span><span class="preprocessor">#define LL_GPIO_PULL_NO                    (0x00000000U) </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno">  173</span><span class="preprocessor">#define LL_GPIO_PULL_UP                    GPIO_PUPDR_PUPD0_0 </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno">  174</span><span class="preprocessor">#define LL_GPIO_PULL_DOWN                  GPIO_PUPDR_PUPD0_1 </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno">  178</span></div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno">  182</span><span class="preprocessor">#define LL_GPIO_AF_0                       (0x0000000U) </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno">  183</span><span class="preprocessor">#define LL_GPIO_AF_1                       (0x0000001U) </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno">  184</span><span class="preprocessor">#define LL_GPIO_AF_2                       (0x0000002U) </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno">  185</span><span class="preprocessor">#define LL_GPIO_AF_3                       (0x0000003U) </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno">  186</span><span class="preprocessor">#define LL_GPIO_AF_4                       (0x0000004U) </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno">  187</span><span class="preprocessor">#define LL_GPIO_AF_5                       (0x0000005U) </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno">  188</span><span class="preprocessor">#define LL_GPIO_AF_6                       (0x0000006U) </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno">  189</span><span class="preprocessor">#define LL_GPIO_AF_7                       (0x0000007U) </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno">  190</span><span class="preprocessor">#define LL_GPIO_AF_8                       (0x0000008U) </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno">  191</span><span class="preprocessor">#define LL_GPIO_AF_9                       (0x0000009U) </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno">  192</span><span class="preprocessor">#define LL_GPIO_AF_10                      (0x000000AU) </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno">  193</span><span class="preprocessor">#define LL_GPIO_AF_11                      (0x000000BU) </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno">  194</span><span class="preprocessor">#define LL_GPIO_AF_12                      (0x000000CU) </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno">  195</span><span class="preprocessor">#define LL_GPIO_AF_13                      (0x000000DU) </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno">  196</span><span class="preprocessor">#define LL_GPIO_AF_14                      (0x000000EU) </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno">  197</span><span class="preprocessor">#define LL_GPIO_AF_15                      (0x000000FU) </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno">  201</span></div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno">  205</span> </div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno">  206</span><span class="comment">/* Exported macro ------------------------------------------------------------*/</span></div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno">  210</span></div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno">  214</span></div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno">  222</span><span class="preprocessor">#define LL_GPIO_WriteReg(__INSTANCE__, __REG__, __VALUE__) WRITE_REG(__INSTANCE__-&gt;__REG__, (__VALUE__))</span></div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno">  223</span></div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno">  230</span><span class="preprocessor">#define LL_GPIO_ReadReg(__INSTANCE__, __REG__) READ_REG(__INSTANCE__-&gt;__REG__)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno">  234</span></div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno">  238</span> </div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno">  239</span><span class="comment">/* Exported functions --------------------------------------------------------*/</span></div>
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno">  243</span></div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno">  247</span></div>
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno">  278</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_GPIO_SetPinMode(<a class="code hl_struct" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx, uint32_t Pin, uint32_t Mode)</div>
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno">  279</span>{</div>
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno">  280</span>  MODIFY_REG(GPIOx-&gt;<a class="code hl_variable" href="struct_g_p_i_o___type_def.html#ac2505d096b6b650f1647b8e0ff8b196b">MODER</a>, ((Pin * Pin) * GPIO_MODER_MODE0), ((Pin * Pin) * Mode));</div>
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno">  281</span>}</div>
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno">  282</span></div>
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno">  312</span>__STATIC_INLINE uint32_t LL_GPIO_GetPinMode(<span class="keyword">const</span> <a class="code hl_struct" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx, uint32_t Pin)</div>
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno">  313</span>{</div>
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno">  314</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(GPIOx-&gt;<a class="code hl_variable" href="struct_g_p_i_o___type_def.html#ac2505d096b6b650f1647b8e0ff8b196b">MODER</a>, ((Pin * Pin) * GPIO_MODER_MODE0)) / (Pin * Pin));</div>
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno">  315</span>}</div>
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno">  316</span></div>
<div class="line"><a id="l00346" name="l00346"></a><span class="lineno">  346</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_GPIO_SetPinOutputType(<a class="code hl_struct" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx, uint32_t PinMask, uint32_t OutputType)</div>
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno">  347</span>{</div>
<div class="line"><a id="l00348" name="l00348"></a><span class="lineno">  348</span>  MODIFY_REG(GPIOx-&gt;<a class="code hl_variable" href="struct_g_p_i_o___type_def.html#a910885e4d881c3a459dd11640237107f">OTYPER</a>, PinMask, (PinMask * OutputType));</div>
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno">  349</span>}</div>
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno">  350</span></div>
<div class="line"><a id="l00380" name="l00380"></a><span class="lineno">  380</span>__STATIC_INLINE uint32_t LL_GPIO_GetPinOutputType(<span class="keyword">const</span> <a class="code hl_struct" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx, uint32_t Pin)</div>
<div class="line"><a id="l00381" name="l00381"></a><span class="lineno">  381</span>{</div>
<div class="line"><a id="l00382" name="l00382"></a><span class="lineno">  382</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(GPIOx-&gt;<a class="code hl_variable" href="struct_g_p_i_o___type_def.html#a910885e4d881c3a459dd11640237107f">OTYPER</a>, Pin) / Pin);</div>
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno">  383</span>}</div>
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno">  384</span></div>
<div class="line"><a id="l00417" name="l00417"></a><span class="lineno">  417</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_GPIO_SetPinSpeed(<a class="code hl_struct" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx, uint32_t Pin, uint32_t  Speed)</div>
<div class="line"><a id="l00418" name="l00418"></a><span class="lineno">  418</span>{</div>
<div class="line"><a id="l00419" name="l00419"></a><span class="lineno">  419</span>  MODIFY_REG(GPIOx-&gt;<a class="code hl_variable" href="struct_g_p_i_o___type_def.html#a0d233d720f18ae2050f9131fa6faf7c6">OSPEEDR</a>, ((Pin * Pin) * GPIO_OSPEEDR_OSPEED0), ((Pin * Pin) * Speed));</div>
<div class="line"><a id="l00420" name="l00420"></a><span class="lineno">  420</span>}</div>
<div class="line"><a id="l00421" name="l00421"></a><span class="lineno">  421</span></div>
<div class="line"><a id="l00453" name="l00453"></a><span class="lineno">  453</span>__STATIC_INLINE uint32_t LL_GPIO_GetPinSpeed(<span class="keyword">const</span> <a class="code hl_struct" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx, uint32_t Pin)</div>
<div class="line"><a id="l00454" name="l00454"></a><span class="lineno">  454</span>{</div>
<div class="line"><a id="l00455" name="l00455"></a><span class="lineno">  455</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(GPIOx-&gt;<a class="code hl_variable" href="struct_g_p_i_o___type_def.html#a0d233d720f18ae2050f9131fa6faf7c6">OSPEEDR</a>, ((Pin * Pin) * GPIO_OSPEEDR_OSPEED0)) / (Pin * Pin));</div>
<div class="line"><a id="l00456" name="l00456"></a><span class="lineno">  456</span>}</div>
<div class="line"><a id="l00457" name="l00457"></a><span class="lineno">  457</span></div>
<div class="line"><a id="l00486" name="l00486"></a><span class="lineno">  486</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_GPIO_SetPinPull(<a class="code hl_struct" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx, uint32_t Pin, uint32_t Pull)</div>
<div class="line"><a id="l00487" name="l00487"></a><span class="lineno">  487</span>{</div>
<div class="line"><a id="l00488" name="l00488"></a><span class="lineno">  488</span>  MODIFY_REG(GPIOx-&gt;<a class="code hl_variable" href="struct_g_p_i_o___type_def.html#a44ada3bfbe891e2efc1e06bda4c8014e">PUPDR</a>, ((Pin * Pin) * GPIO_PUPDR_PUPD0), ((Pin * Pin) * Pull));</div>
<div class="line"><a id="l00489" name="l00489"></a><span class="lineno">  489</span>}</div>
<div class="line"><a id="l00490" name="l00490"></a><span class="lineno">  490</span></div>
<div class="line"><a id="l00518" name="l00518"></a><span class="lineno">  518</span>__STATIC_INLINE uint32_t LL_GPIO_GetPinPull(<span class="keyword">const</span> <a class="code hl_struct" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx, uint32_t Pin)</div>
<div class="line"><a id="l00519" name="l00519"></a><span class="lineno">  519</span>{</div>
<div class="line"><a id="l00520" name="l00520"></a><span class="lineno">  520</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(GPIOx-&gt;<a class="code hl_variable" href="struct_g_p_i_o___type_def.html#a44ada3bfbe891e2efc1e06bda4c8014e">PUPDR</a>, ((Pin * Pin) * GPIO_PUPDR_PUPD0)) / (Pin * Pin));</div>
<div class="line"><a id="l00521" name="l00521"></a><span class="lineno">  521</span>}</div>
<div class="line"><a id="l00522" name="l00522"></a><span class="lineno">  522</span></div>
<div class="line"><a id="l00557" name="l00557"></a><span class="lineno">  557</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_GPIO_SetAFPin_0_7(<a class="code hl_struct" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx, uint32_t Pin, uint32_t Alternate)</div>
<div class="line"><a id="l00558" name="l00558"></a><span class="lineno">  558</span>{</div>
<div class="line"><a id="l00559" name="l00559"></a><span class="lineno">  559</span>  MODIFY_REG(GPIOx-&gt;<a class="code hl_variable" href="struct_g_p_i_o___type_def.html#a2245603433e102f0fd8a85f7de020755">AFR</a>[0], ((((Pin * Pin) * Pin) * Pin) * GPIO_AFRL_AFSEL0),</div>
<div class="line"><a id="l00560" name="l00560"></a><span class="lineno">  560</span>             ((((Pin * Pin) * Pin) * Pin) * Alternate));</div>
<div class="line"><a id="l00561" name="l00561"></a><span class="lineno">  561</span>}</div>
<div class="line"><a id="l00562" name="l00562"></a><span class="lineno">  562</span></div>
<div class="line"><a id="l00594" name="l00594"></a><span class="lineno">  594</span>__STATIC_INLINE uint32_t LL_GPIO_GetAFPin_0_7(<span class="keyword">const</span> <a class="code hl_struct" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx, uint32_t Pin)</div>
<div class="line"><a id="l00595" name="l00595"></a><span class="lineno">  595</span>{</div>
<div class="line"><a id="l00596" name="l00596"></a><span class="lineno">  596</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(GPIOx-&gt;<a class="code hl_variable" href="struct_g_p_i_o___type_def.html#a2245603433e102f0fd8a85f7de020755">AFR</a>[0],</div>
<div class="line"><a id="l00597" name="l00597"></a><span class="lineno">  597</span>                             ((((Pin * Pin) * Pin) * Pin) * GPIO_AFRL_AFSEL0)) / (((Pin * Pin) * Pin) * Pin));</div>
<div class="line"><a id="l00598" name="l00598"></a><span class="lineno">  598</span>}</div>
<div class="line"><a id="l00599" name="l00599"></a><span class="lineno">  599</span></div>
<div class="line"><a id="l00634" name="l00634"></a><span class="lineno">  634</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_GPIO_SetAFPin_8_15(<a class="code hl_struct" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx, uint32_t Pin, uint32_t Alternate)</div>
<div class="line"><a id="l00635" name="l00635"></a><span class="lineno">  635</span>{</div>
<div class="line"><a id="l00636" name="l00636"></a><span class="lineno">  636</span>  MODIFY_REG(GPIOx-&gt;<a class="code hl_variable" href="struct_g_p_i_o___type_def.html#a2245603433e102f0fd8a85f7de020755">AFR</a>[1], (((((Pin &gt;&gt; 8U) * (Pin &gt;&gt; 8U)) * (Pin &gt;&gt; 8U)) * (Pin &gt;&gt; 8U)) * GPIO_AFRH_AFSEL8),</div>
<div class="line"><a id="l00637" name="l00637"></a><span class="lineno">  637</span>             (((((Pin &gt;&gt; 8U) * (Pin &gt;&gt; 8U)) * (Pin &gt;&gt; 8U)) * (Pin &gt;&gt; 8U)) * Alternate));</div>
<div class="line"><a id="l00638" name="l00638"></a><span class="lineno">  638</span>}</div>
<div class="line"><a id="l00639" name="l00639"></a><span class="lineno">  639</span></div>
<div class="line"><a id="l00672" name="l00672"></a><span class="lineno">  672</span>__STATIC_INLINE uint32_t LL_GPIO_GetAFPin_8_15(<span class="keyword">const</span> <a class="code hl_struct" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx, uint32_t Pin)</div>
<div class="line"><a id="l00673" name="l00673"></a><span class="lineno">  673</span>{</div>
<div class="line"><a id="l00674" name="l00674"></a><span class="lineno">  674</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(GPIOx-&gt;<a class="code hl_variable" href="struct_g_p_i_o___type_def.html#a2245603433e102f0fd8a85f7de020755">AFR</a>[1],</div>
<div class="line"><a id="l00675" name="l00675"></a><span class="lineno">  675</span>                             (((((Pin &gt;&gt; 8U) * (Pin &gt;&gt; 8U)) * (Pin &gt;&gt; 8U)) * (Pin &gt;&gt; 8U)) * GPIO_AFRH_AFSEL8)) / ((((Pin &gt;&gt; 8U) *</div>
<div class="line"><a id="l00676" name="l00676"></a><span class="lineno">  676</span>                                 (Pin &gt;&gt; 8U)) * (Pin &gt;&gt; 8U)) * (Pin &gt;&gt; 8U)));</div>
<div class="line"><a id="l00677" name="l00677"></a><span class="lineno">  677</span>}</div>
<div class="line"><a id="l00678" name="l00678"></a><span class="lineno">  678</span> </div>
<div class="line"><a id="l00679" name="l00679"></a><span class="lineno">  679</span></div>
<div class="line"><a id="l00709" name="l00709"></a><span class="lineno">  709</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_GPIO_LockPin(<a class="code hl_struct" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx, uint32_t PinMask)</div>
<div class="line"><a id="l00710" name="l00710"></a><span class="lineno">  710</span>{</div>
<div class="line"><a id="l00711" name="l00711"></a><span class="lineno">  711</span>  <a class="code hl_define" href="core__armv81mml_8h.html#aec43007d9998a0a0e01faede4133d6be">__IO</a> uint32_t temp;</div>
<div class="line"><a id="l00712" name="l00712"></a><span class="lineno">  712</span>  WRITE_REG(GPIOx-&gt;<a class="code hl_variable" href="struct_g_p_i_o___type_def.html#a95a59d4b1d52be521f3246028be32f3e">LCKR</a>, GPIO_LCKR_LCKK | PinMask);</div>
<div class="line"><a id="l00713" name="l00713"></a><span class="lineno">  713</span>  WRITE_REG(GPIOx-&gt;<a class="code hl_variable" href="struct_g_p_i_o___type_def.html#a95a59d4b1d52be521f3246028be32f3e">LCKR</a>, PinMask);</div>
<div class="line"><a id="l00714" name="l00714"></a><span class="lineno">  714</span>  WRITE_REG(GPIOx-&gt;<a class="code hl_variable" href="struct_g_p_i_o___type_def.html#a95a59d4b1d52be521f3246028be32f3e">LCKR</a>, GPIO_LCKR_LCKK | PinMask);</div>
<div class="line"><a id="l00715" name="l00715"></a><span class="lineno">  715</span>  <span class="comment">/* Read LCKK register. This read is mandatory to complete key lock sequence */</span></div>
<div class="line"><a id="l00716" name="l00716"></a><span class="lineno">  716</span>  temp = READ_REG(GPIOx-&gt;<a class="code hl_variable" href="struct_g_p_i_o___type_def.html#a95a59d4b1d52be521f3246028be32f3e">LCKR</a>);</div>
<div class="line"><a id="l00717" name="l00717"></a><span class="lineno">  717</span>  (void) temp;</div>
<div class="line"><a id="l00718" name="l00718"></a><span class="lineno">  718</span>}</div>
<div class="line"><a id="l00719" name="l00719"></a><span class="lineno">  719</span></div>
<div class="line"><a id="l00744" name="l00744"></a><span class="lineno">  744</span>__STATIC_INLINE uint32_t LL_GPIO_IsPinLocked(<span class="keyword">const</span> <a class="code hl_struct" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx, uint32_t PinMask)</div>
<div class="line"><a id="l00745" name="l00745"></a><span class="lineno">  745</span>{</div>
<div class="line"><a id="l00746" name="l00746"></a><span class="lineno">  746</span>  <span class="keywordflow">return</span> ((READ_BIT(GPIOx-&gt;<a class="code hl_variable" href="struct_g_p_i_o___type_def.html#a95a59d4b1d52be521f3246028be32f3e">LCKR</a>, PinMask) == (PinMask)) ? 1UL : 0UL);</div>
<div class="line"><a id="l00747" name="l00747"></a><span class="lineno">  747</span>}</div>
<div class="line"><a id="l00748" name="l00748"></a><span class="lineno">  748</span></div>
<div class="line"><a id="l00755" name="l00755"></a><span class="lineno">  755</span>__STATIC_INLINE uint32_t LL_GPIO_IsAnyPinLocked(<span class="keyword">const</span> <a class="code hl_struct" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx)</div>
<div class="line"><a id="l00756" name="l00756"></a><span class="lineno">  756</span>{</div>
<div class="line"><a id="l00757" name="l00757"></a><span class="lineno">  757</span>  <span class="keywordflow">return</span> ((READ_BIT(GPIOx-&gt;<a class="code hl_variable" href="struct_g_p_i_o___type_def.html#a95a59d4b1d52be521f3246028be32f3e">LCKR</a>, GPIO_LCKR_LCKK) == (GPIO_LCKR_LCKK)) ? 1UL : 0UL);</div>
<div class="line"><a id="l00758" name="l00758"></a><span class="lineno">  758</span>}</div>
<div class="line"><a id="l00759" name="l00759"></a><span class="lineno">  759</span></div>
<div class="line"><a id="l00763" name="l00763"></a><span class="lineno">  763</span></div>
<div class="line"><a id="l00767" name="l00767"></a><span class="lineno">  767</span></div>
<div class="line"><a id="l00774" name="l00774"></a><span class="lineno">  774</span>__STATIC_INLINE uint32_t LL_GPIO_ReadInputPort(<span class="keyword">const</span> <a class="code hl_struct" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx)</div>
<div class="line"><a id="l00775" name="l00775"></a><span class="lineno">  775</span>{</div>
<div class="line"><a id="l00776" name="l00776"></a><span class="lineno">  776</span>  <span class="keywordflow">return</span> (uint32_t)(READ_REG(GPIOx-&gt;<a class="code hl_variable" href="struct_g_p_i_o___type_def.html#acf11156409414ad8841bb0b62959ee96">IDR</a>));</div>
<div class="line"><a id="l00777" name="l00777"></a><span class="lineno">  777</span>}</div>
<div class="line"><a id="l00778" name="l00778"></a><span class="lineno">  778</span></div>
<div class="line"><a id="l00803" name="l00803"></a><span class="lineno">  803</span>__STATIC_INLINE uint32_t LL_GPIO_IsInputPinSet(<span class="keyword">const</span> <a class="code hl_struct" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx, uint32_t PinMask)</div>
<div class="line"><a id="l00804" name="l00804"></a><span class="lineno">  804</span>{</div>
<div class="line"><a id="l00805" name="l00805"></a><span class="lineno">  805</span>  <span class="keywordflow">return</span> ((READ_BIT(GPIOx-&gt;<a class="code hl_variable" href="struct_g_p_i_o___type_def.html#acf11156409414ad8841bb0b62959ee96">IDR</a>, PinMask) == (PinMask)) ? 1UL : 0UL);</div>
<div class="line"><a id="l00806" name="l00806"></a><span class="lineno">  806</span>}</div>
<div class="line"><a id="l00807" name="l00807"></a><span class="lineno">  807</span></div>
<div class="line"><a id="l00815" name="l00815"></a><span class="lineno">  815</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_GPIO_WriteOutputPort(<a class="code hl_struct" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx, uint32_t PortValue)</div>
<div class="line"><a id="l00816" name="l00816"></a><span class="lineno">  816</span>{</div>
<div class="line"><a id="l00817" name="l00817"></a><span class="lineno">  817</span>  WRITE_REG(GPIOx-&gt;<a class="code hl_variable" href="struct_g_p_i_o___type_def.html#a6fb78f4a978a36032cdeac93ac3c9c8b">ODR</a>, PortValue);</div>
<div class="line"><a id="l00818" name="l00818"></a><span class="lineno">  818</span>}</div>
<div class="line"><a id="l00819" name="l00819"></a><span class="lineno">  819</span></div>
<div class="line"><a id="l00826" name="l00826"></a><span class="lineno">  826</span>__STATIC_INLINE uint32_t LL_GPIO_ReadOutputPort(<span class="keyword">const</span> <a class="code hl_struct" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx)</div>
<div class="line"><a id="l00827" name="l00827"></a><span class="lineno">  827</span>{</div>
<div class="line"><a id="l00828" name="l00828"></a><span class="lineno">  828</span>  <span class="keywordflow">return</span> (uint32_t)(READ_REG(GPIOx-&gt;<a class="code hl_variable" href="struct_g_p_i_o___type_def.html#a6fb78f4a978a36032cdeac93ac3c9c8b">ODR</a>));</div>
<div class="line"><a id="l00829" name="l00829"></a><span class="lineno">  829</span>}</div>
<div class="line"><a id="l00830" name="l00830"></a><span class="lineno">  830</span></div>
<div class="line"><a id="l00855" name="l00855"></a><span class="lineno">  855</span>__STATIC_INLINE uint32_t LL_GPIO_IsOutputPinSet(<span class="keyword">const</span> <a class="code hl_struct" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx, uint32_t PinMask)</div>
<div class="line"><a id="l00856" name="l00856"></a><span class="lineno">  856</span>{</div>
<div class="line"><a id="l00857" name="l00857"></a><span class="lineno">  857</span>  <span class="keywordflow">return</span> ((READ_BIT(GPIOx-&gt;<a class="code hl_variable" href="struct_g_p_i_o___type_def.html#a6fb78f4a978a36032cdeac93ac3c9c8b">ODR</a>, PinMask) == (PinMask)) ? 1UL : 0UL);</div>
<div class="line"><a id="l00858" name="l00858"></a><span class="lineno">  858</span>}</div>
<div class="line"><a id="l00859" name="l00859"></a><span class="lineno">  859</span></div>
<div class="line"><a id="l00884" name="l00884"></a><span class="lineno">  884</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_GPIO_SetOutputPin(<a class="code hl_struct" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx, uint32_t PinMask)</div>
<div class="line"><a id="l00885" name="l00885"></a><span class="lineno">  885</span>{</div>
<div class="line"><a id="l00886" name="l00886"></a><span class="lineno">  886</span>  WRITE_REG(GPIOx-&gt;<a class="code hl_variable" href="struct_g_p_i_o___type_def.html#acd6f21e08912b484c030ca8b18e11cd6">BSRR</a>, PinMask);</div>
<div class="line"><a id="l00887" name="l00887"></a><span class="lineno">  887</span>}</div>
<div class="line"><a id="l00888" name="l00888"></a><span class="lineno">  888</span></div>
<div class="line"><a id="l00913" name="l00913"></a><span class="lineno">  913</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_GPIO_ResetOutputPin(<a class="code hl_struct" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx, uint32_t PinMask)</div>
<div class="line"><a id="l00914" name="l00914"></a><span class="lineno">  914</span>{</div>
<div class="line"><a id="l00915" name="l00915"></a><span class="lineno">  915</span>  WRITE_REG(GPIOx-&gt;<a class="code hl_variable" href="struct_g_p_i_o___type_def.html#acd6f21e08912b484c030ca8b18e11cd6">BSRR</a>, PinMask &lt;&lt; 16U);</div>
<div class="line"><a id="l00916" name="l00916"></a><span class="lineno">  916</span>}</div>
<div class="line"><a id="l00917" name="l00917"></a><span class="lineno">  917</span></div>
<div class="line"><a id="l00942" name="l00942"></a><span class="lineno">  942</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_GPIO_TogglePin(<a class="code hl_struct" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx, uint32_t PinMask)</div>
<div class="line"><a id="l00943" name="l00943"></a><span class="lineno">  943</span>{</div>
<div class="line"><a id="l00944" name="l00944"></a><span class="lineno">  944</span>  uint32_t odr = READ_REG(GPIOx-&gt;<a class="code hl_variable" href="struct_g_p_i_o___type_def.html#a6fb78f4a978a36032cdeac93ac3c9c8b">ODR</a>);</div>
<div class="line"><a id="l00945" name="l00945"></a><span class="lineno">  945</span>  WRITE_REG(GPIOx-&gt;<a class="code hl_variable" href="struct_g_p_i_o___type_def.html#acd6f21e08912b484c030ca8b18e11cd6">BSRR</a>, ((odr &amp; PinMask) &lt;&lt; 16u) | (~odr &amp; PinMask));</div>
<div class="line"><a id="l00946" name="l00946"></a><span class="lineno">  946</span>}</div>
<div class="line"><a id="l00947" name="l00947"></a><span class="lineno">  947</span></div>
<div class="line"><a id="l00951" name="l00951"></a><span class="lineno">  951</span> </div>
<div class="line"><a id="l00952" name="l00952"></a><span class="lineno">  952</span><span class="preprocessor">#if defined(USE_FULL_LL_DRIVER)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00956" name="l00956"></a><span class="lineno">  956</span> </div>
<div class="line"><a id="l00957" name="l00957"></a><span class="lineno">  957</span>ErrorStatus LL_GPIO_DeInit(<span class="keyword">const</span> <a class="code hl_struct" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx);</div>
<div class="line"><a id="l00958" name="l00958"></a><span class="lineno">  958</span>ErrorStatus LL_GPIO_Init(<a class="code hl_struct" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *GPIOx, LL_GPIO_InitTypeDef *GPIO_InitStruct);</div>
<div class="line"><a id="l00959" name="l00959"></a><span class="lineno">  959</span><span class="keywordtype">void</span>        LL_GPIO_StructInit(LL_GPIO_InitTypeDef *GPIO_InitStruct);</div>
<div class="line"><a id="l00960" name="l00960"></a><span class="lineno">  960</span></div>
<div class="line"><a id="l00964" name="l00964"></a><span class="lineno">  964</span><span class="preprocessor">#endif </span><span class="comment">/* USE_FULL_LL_DRIVER */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00965" name="l00965"></a><span class="lineno">  965</span></div>
<div class="line"><a id="l00969" name="l00969"></a><span class="lineno">  969</span></div>
<div class="line"><a id="l00973" name="l00973"></a><span class="lineno">  973</span> </div>
<div class="line"><a id="l00974" name="l00974"></a><span class="lineno">  974</span><span class="preprocessor">#endif </span><span class="comment">/*defined (GPIOA) || defined (GPIOB) || defined (GPIOC) || defined (GPIOD) || defined (GPIOE) || defined (GPIOF) || defined (GPIOG) || defined (GPIOH) || defined (GPIOI) || defined (GPIOJ) || defined (GPIOK) */</span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00978" name="l00978"></a><span class="lineno">  978</span> </div>
<div class="line"><a id="l00979" name="l00979"></a><span class="lineno">  979</span><span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a id="l00980" name="l00980"></a><span class="lineno">  980</span>}</div>
<div class="line"><a id="l00981" name="l00981"></a><span class="lineno">  981</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00982" name="l00982"></a><span class="lineno">  982</span> </div>
<div class="line"><a id="l00983" name="l00983"></a><span class="lineno">  983</span><span class="preprocessor">#endif </span><span class="comment">/* STM32H7xx_LL_GPIO_H */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00984" name="l00984"></a><span class="lineno">  984</span> </div>
<div class="ttc" id="acore__armv81mml_8h_html_aec43007d9998a0a0e01faede4133d6be"><div class="ttname"><a href="core__armv81mml_8h.html#aec43007d9998a0a0e01faede4133d6be">__IO</a></div><div class="ttdeci">#define __IO</div><div class="ttdef"><b>Definition</b> core_armv81mml.h:277</div></div>
<div class="ttc" id="astm32h7xx_8h_html"><div class="ttname"><a href="stm32h7xx_8h.html">stm32h7xx.h</a></div><div class="ttdoc">CMSIS STM32H7xx Device Peripheral Access Layer Header File.</div></div>
<div class="ttc" id="astruct_g_p_i_o___type_def_html"><div class="ttname"><a href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a></div><div class="ttdoc">General Purpose I/O.</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:1066</div></div>
<div class="ttc" id="astruct_g_p_i_o___type_def_html_a0d233d720f18ae2050f9131fa6faf7c6"><div class="ttname"><a href="struct_g_p_i_o___type_def.html#a0d233d720f18ae2050f9131fa6faf7c6">GPIO_TypeDef::OSPEEDR</a></div><div class="ttdeci">__IO uint32_t OSPEEDR</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:1069</div></div>
<div class="ttc" id="astruct_g_p_i_o___type_def_html_a2245603433e102f0fd8a85f7de020755"><div class="ttname"><a href="struct_g_p_i_o___type_def.html#a2245603433e102f0fd8a85f7de020755">GPIO_TypeDef::AFR</a></div><div class="ttdeci">__IO uint32_t AFR[2]</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:1075</div></div>
<div class="ttc" id="astruct_g_p_i_o___type_def_html_a44ada3bfbe891e2efc1e06bda4c8014e"><div class="ttname"><a href="struct_g_p_i_o___type_def.html#a44ada3bfbe891e2efc1e06bda4c8014e">GPIO_TypeDef::PUPDR</a></div><div class="ttdeci">__IO uint32_t PUPDR</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:1070</div></div>
<div class="ttc" id="astruct_g_p_i_o___type_def_html_a6fb78f4a978a36032cdeac93ac3c9c8b"><div class="ttname"><a href="struct_g_p_i_o___type_def.html#a6fb78f4a978a36032cdeac93ac3c9c8b">GPIO_TypeDef::ODR</a></div><div class="ttdeci">__IO uint32_t ODR</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:1072</div></div>
<div class="ttc" id="astruct_g_p_i_o___type_def_html_a910885e4d881c3a459dd11640237107f"><div class="ttname"><a href="struct_g_p_i_o___type_def.html#a910885e4d881c3a459dd11640237107f">GPIO_TypeDef::OTYPER</a></div><div class="ttdeci">__IO uint32_t OTYPER</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:1068</div></div>
<div class="ttc" id="astruct_g_p_i_o___type_def_html_a95a59d4b1d52be521f3246028be32f3e"><div class="ttname"><a href="struct_g_p_i_o___type_def.html#a95a59d4b1d52be521f3246028be32f3e">GPIO_TypeDef::LCKR</a></div><div class="ttdeci">__IO uint32_t LCKR</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:1074</div></div>
<div class="ttc" id="astruct_g_p_i_o___type_def_html_ac2505d096b6b650f1647b8e0ff8b196b"><div class="ttname"><a href="struct_g_p_i_o___type_def.html#ac2505d096b6b650f1647b8e0ff8b196b">GPIO_TypeDef::MODER</a></div><div class="ttdeci">__IO uint32_t MODER</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:1067</div></div>
<div class="ttc" id="astruct_g_p_i_o___type_def_html_acd6f21e08912b484c030ca8b18e11cd6"><div class="ttname"><a href="struct_g_p_i_o___type_def.html#acd6f21e08912b484c030ca8b18e11cd6">GPIO_TypeDef::BSRR</a></div><div class="ttdeci">__IO uint32_t BSRR</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:1073</div></div>
<div class="ttc" id="astruct_g_p_i_o___type_def_html_acf11156409414ad8841bb0b62959ee96"><div class="ttname"><a href="struct_g_p_i_o___type_def.html#acf11156409414ad8841bb0b62959ee96">GPIO_TypeDef::IDR</a></div><div class="ttdeci">__IO uint32_t IDR</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:1071</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a href="dir_60925fc218da8ca7908795bf5f624060.html">Drivers</a></li><li class="navelem"><a href="dir_7baec2ddb99168f99d1052c1aec46b20.html">STM32H7xx_HAL_Driver</a></li><li class="navelem"><a href="dir_4f22a8fa6199c96df71a89cbd7613f35.html">Inc</a></li><li class="navelem"><a href="stm32h7xx__ll__gpio_8h.html">stm32h7xx_ll_gpio.h</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.14.0 </li>
  </ul>
</div>
</body>
</html>
